package cn.itsource.exam.enums;

/**
 * Created by su on 2020/7/24.
 */
public enum UserTypeEnum {

    TEACHER(0,"老师"),
    STUDENT(1,"学生");
    private Integer id;

    private String name;

    UserTypeEnum(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
